package com.qijian.maindata.domain.query;

import java.math.BigDecimal;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;

import com.qijian.common.utils.mybatis.WhereType;
import com.qijian.common.utils.mybatis.WhereTypeEnum;
import lombok.Data;

import java.util.Set;

import lombok.ToString;
import com.baomidou.mybatisplus.annotation.TableName;


/**
 * 供应商库存领用对象 查询条件类
 *
 * @author qijian
 * @date 2024-06-12
 */

@Data
@ToString
@TableName("supplier_inventory_out")
public class SupplierInventoryOutQuery {

    @WhereType(filed = "id")
    private Long id;
    @WhereType(filed = "id", type = WhereTypeEnum.IN)
    private Set<Long> ids;
    @WhereType(filed = "source_id")
    private Long sourceId;
    @WhereType(filed = "supplier_id")
    private Long supplierId;
    @WhereType(filed = "supplier_name", type = WhereTypeEnum.LIKE)
    private String supplierName;
    @WhereType(filed = "item_id")
    private Long itemId;
    @WhereType(filed = "item_name", type = WhereTypeEnum.LIKE)
    private String itemName;
    @WhereType(filed = "item_code", type = WhereTypeEnum.LIKE)
    private String itemCode;
    @WhereType(filed = "item_attr", type = WhereTypeEnum.LIKE)
    private String itemAttr;
    @WhereType(filed = "item_unit")
    private String itemUnit;
    @WhereType(filed = "item_unit_sup")
    private String itemUnitSup;
    @WhereType(filed = "quantity")
    private BigDecimal quantity;
    @WhereType(filed = "quantity_sup")
    private BigDecimal quantitySup;
    @WhereType(filed = "wx_code", type = WhereTypeEnum.LIKE)
    private String wxCode;
    @WhereType(filed = "process_id")
    private Long processId;
    @WhereType(filed = "remark")
    private String remark;
    @WhereType(filed = "process_name", type = WhereTypeEnum.LIKE)
    private String processName;
    @WhereType(filed = "data_type")
    private Long dataType;
    @WhereType(filed = "draw_no", type = WhereTypeEnum.LIKE)
    private String drawNo;
    @WhereType(filed = "part_no", type = WhereTypeEnum.LIKE)
    private String partNo;
    @WhereType(filed = "project_id")
    private Long projectId;
    @WhereType(filed = "project_machine_no", type = WhereTypeEnum.LIKE)
    private String projectMachineNo;
    @WhereType(filed = "pick_id")
    private Long pickId;
    @WhereType(filed = "pick_name", type = WhereTypeEnum.LIKE)
    private String pickName;
    @WhereType(filed = "pick_time", type = WhereTypeEnum.BETWEEN)
    private Date[] pickTime;

}
